package zhieasy.cn.model.forum;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("forum_comment_rely")
public class ForumCommentRely {
    @TableId
    @ApiModelProperty("评论id")
    private long id;

    @ApiModelProperty("评论主表的id")
    private String commentId;

    @ApiModelProperty("评论者id")
    private String fromId;

    @ApiModelProperty("评论者名称")
    private String fromName;

    @ApiModelProperty("评论者头像")
    private String fromAvatar;

    @ApiModelProperty("被评论者id")
    private String toId;

    @ApiModelProperty("被评论者名字")
    private String toName;

    @ApiModelProperty("被评论者头像")
    private String toAvatar;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("创建时间")
    private long createTime;

    @ApiModelProperty("修改时间")
    private long updateTime;

    @ApiModelProperty("是否有效")
    private long valid;
}
